package com.grapecc.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @author 卖糖的兜兜
 * @version 1.0.0
 * @ClassName PaymentCallbackService.java
 * @Description TODO
 * @createTime 2022年02月15日 14:03:00
 */
@Component // 添加注解  spring能识别到
public class PaymentCallbackService implements PaymentHystrixService{
    @Override
    public String payment_oK(Integer id) {
        return "PaymentCallbackService,(*^_^*)";
    }

    @Override
    public String payment_timeout(Integer id) {
        return "PaymentCallbackService,/(ㄒoㄒ)/~~";
    }
}
